// pages/member/checkOrder/checkOrder.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        title:"核对订单",
        userInfo: null,
                        disabled: !0,
                        loading: !1,
                        moneyFlag: !1,
                        orderId: null,
                        dialogVisible: !1,
                        includesPickType: "",
                        excludeIds: "",
                        traderFlag: !1,
                        goodsUserBuyerId: "",
                        form: {
                            goodsProductId: "",
                            yjPrice: 0,
                            goodsId: "",
                            goodsName: "",
                            userSupplierId: "",
                            userFactoryId: "",
                            num: 0,
                            customerManagerPhone: "",
                            customerManager: "",
                            price: null,
                            priceProtectionFlag: "0",
                            pickType: "",
                            cj: 0,
                            userBuyerRemark: "",
                            type: "1",
                            userPartnerId: "",
                            userMandatorId: "",
                            userBuyerId: "",
                            orderType: "",
                            realOrderType: "",
                            tradeType: "",
                            lockDay: 0,
                            sourceId: "",
                            discountPrice: 0,
                            discountAmount: 0,
                            serviceAmount: 0,
                            orderAmount: 0,
                            goodsAmount: 0,
                            autoAcceptFlag: "1",
                            positionBelongOrgId: "",
                            goodsSourceType: "",
                            orderTeams: null,
                            userFactoryName: "",
                            userSupplierName: "",
                            userSupplierNameReal: "",
                            distributionAmount: 0,
                            dataSource: "quick",
                            preSaleOrderIds: "",
                            preOrderNum: 0,
                            availableBalace:146.00,
                            amountPaid:0,
                        },
                        goods: {},
                        houseStorageNum: 1e6,
                        maxPrice: 1e6,
                        cjFlag: !1,
                        priceProtectionFlagShow: !0,
                        talkFlag: !0,
                        talkFlagMark: !1,
                        priceFlag: !1,
                        userMandatorId: "",
                        oilHouseId: "",
                        preOrderFlag: !1,
                        oilHouseFlag: !1,
                        buyerOrgType: "buyer,platform,trader",
                        supplierOrgType: "supplier,platform,trader",
                        factoryIsDisabled: !1,
                        factoryIsShow: !1,
                        initFactory: "",
                        goodsId: "",
                        preOrderParams: {},
                        supplierName:'请选择供货商',
                        buyerName:'请选择买家',
                        tradeName:'请选择商品名称'
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {

    },

    toSupplier(){
        wx.navigateTo({
            url: '/pages/pagesGoods/goods/user-org-info-select-page'
         })
    },
    toBuyerList(){
        wx.navigateTo({
            url: '/pages/pagesGoods/goods/buyerList'
         })
    },
    toTradeName(){
        wx.navigateTo({
            url: '/pages/pagesGoods/goods/search-classify-page'
         })
    },
    
    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady() {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide() {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload() {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh() {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom() {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage() {

    }
})